import request from "@/utils/request";
// 列表
export function list(data) {
  return request("subscribe/list", data, "get");
}
// 详情
export function info(data) {
  return request("subscribe/info", data, "get");
}
// 添加
export function add(data) {
  return request("subscribe/add", data, "post");
}
// 编辑
export function edit(data) {
  return request("subscribe/edit", data, "post");
}
// 开启或者关闭
export function open(data) {
  return request("subscribe/open", data, "post");
}
// 添加虚拟用户
export function addVUser(data) {
  return request("subscribe/addVUser", data, "post");
}
// 查看报名用户
export function signUserList(data) {
  return request("subscribe/signUserList", data, "get");
}
//新列表
export function newList(data) {
  return request("apply/list", data, "get");
}
//新列表
export function newAdd(data) {
  return request("apply/add", data, "post");
}
export function newInfo(data) {
  return request("apply/info", data, "get");
}
export function newEdit(data) {
  return request("apply/edit", data, "post");
}

export function newOpen(data) {
  return request("apply/open", data, "post");
}
export function newAddVUser(data) {
  return request("apply/addVUser", data, "post");
}

export function newSignUserList(data) {
  return request("apply/signUserList", data, "get");
}